﻿using System;
using System.ComponentModel;

public partial class Controls_QuickSearch : System.Web.UI.UserControl
{
    public string UserName { get; set; }
    public string Roles { get; set; }
    [Browsable(true)]
    public string ProgressImagePath
    {
        get;
        set;
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            imgLoading.ImageUrl = ProgressImagePath;
            const string securityKey = "ef0rce!@##@!";
            txtJumpTo_Extender.ContextKey = string.Format("{0}|{1}|{2}", securityKey, UserName, Roles);
        }
    }
}